how to count each char in a string using javascript

join shbcf.ru